package com.unknow.first.dapp.admin.mapper;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 用户关系关联表
 *
 * @TableName t_address_tree
 */
@TableName(value = "t_address_tree")
@Data
@EqualsAndHashCode
@ToString
public class TAddressTree implements Serializable {

    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 父级
     */
    private String parentAddress;

    /**
     * 子级
     */
    private String childAddress;

    /**
     * 父子距离
     */
    private Integer distance;

    /**
     *
     */
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}